package xyz.lilei123.repository;

import org.springframework.data.mongodb.repository.MongoRepository;
import xyz.lilei123.entity.Resume;

import java.util.List;

/**
 * @author jack
 */
public interface ResumeRepository extends MongoRepository<Resume,String> {

    List<Resume> findByNameEquals(String name);
    List<Resume> findByNameLike(String name);
    List<Resume>  findByNameAndExpectSalary(String name,double expectSalary);
}
